package com.cs342.uwosh.cloudycontacts;

public class Category {

	private int cid;
	private String catagoryName;
	private String ts;
	
	public Category(){}
	
	public Category(int cid, String catagoryName)
	{
		this.cid = cid;
		this.catagoryName = catagoryName;
	}
	
	public Category(String catagoryName)
	{
		this.catagoryName = catagoryName;
	}
	
	
	
	public Category(int cid, String catagoryName, String ts)
	{
		this.cid = cid;
		this.catagoryName = catagoryName;
		this.ts = ts;
	}
	
	public Category(String catagoryName, String ts)
	{
		this.catagoryName = catagoryName;
		this.ts = ts;
	}
	
	public void setCid(int cid)
	{
		this.cid = cid;
	}
	
	public void setCatagoryName(String catagoryName)
	{
		this.catagoryName = catagoryName;
	}
	
	public void setTS(String ts)
	{
		this.ts = ts;
	}
	
	public int getCid()
	{
		return this.cid;
	}
	
	public String getCategoryName()
	{
		return this.catagoryName;
	}
	
	public String getTS()
	{
		return this.ts;
	}
	
	@Override
	public String toString()
	{
		return this.catagoryName;
	}
}
